home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / smstyleselect.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-08-13  |  806 b   |  41 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef SMSTYLESELECT_H
  8. #define SMSTYLESELECT_H
  9.  
  10. #include "styleselect.h"
  11.  
  12.  
  13. class SMStyleSelect  : public StyleSelect
  14. {
  15.     Q_OBJECT
  16. public:
  17.     SMStyleSelect(QWidget *parent);
  18.     ~SMStyleSelect() {}
  19.  
  20.     void setStyle(int i);
  21.     void setStyle(int i, bool isParentValue);
  22.  
  23.     void setParentItem(int i);
  24.  
  25.     bool useParentValue();
  26.  
  27.     QToolButton *parentButton;
  28.  
  29. private:
  30.     bool   hasParent_;
  31.     bool   useParentStyle_;
  32.     int    pStyle_;
  33.     void setFont(bool wantBold);
  34.  
  35. private slots:
  36.     void styleChanged();
  37.     void pbPressed();
  38. };
  39.  
  40. #endif
  41.